﻿Public Class sumtwonumbers
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub getResult_Click(ByVal sender As Object, ByVal e As EventArgs) Handles getResult.Click
        Dim first1, second1, result1 As Single
        first1 = CSng(first.Text)
        second1 = CSng(second.Text)
        result1 = first1 + second1
        result.Text = CStr(result1)
    End Sub
End Class